Why do metals and non metals combine